package a.e.a;

import a.c.d;
import a.c.e;
import a.i.n;
import a.j.a.j;
import a.j.g;

import java.util.Map;

public class w
  extends r
{
  private g g;
  private Map h;
  private d i;
  private v j;
  public static int k;
  
  public w(g paramg, Map paramMap, v paramv)
  {
    this.g = paramg;
    this.h = paramMap;
    this.j = paramv;
  }
  
  public void b()
  {
    boolean bool = r.f;
    int n = r.e;
    try
    {
      String str1 = (String)this.c.get("sourcePath");
      String str2 = (String)this.c.get("targetPath");
      int m = a("representative", -1);
      if ((bool) || ((str1 != null) && (str2 != null)))
      {
        j localj = j.a(this.g);
        if (localj != null)
        {
          e locale1 = a(str1, this.j);
          e locale2 = a(str2, this.j);
          d locald = (d)this.j.i.get(new Integer(m));
          if (!bool)
          {
            if (locald == null)
            {
              n.a(this, 2, "Did not find representative edge " + m);
              System.out.println("Did not find representative edge " + m);
              if (bool) {
                break label210;
              }
              if (n == 0) {
                return;
              }
            }
            localj.b(locald, locale1, locale2);
            this.i = locald;
          }
          label210:
          if (n == 0) {}
        }
      }
      else
      {
        System.out.println("Could not find source or target for " + str1 + " and " + str2);
      }
    }
    catch (NumberFormatException localNumberFormatException)
    {
      n.b(localNumberFormatException);
    }
  }
  
  protected e a(String paramString, v paramv)
  {
    int m = paramString.indexOf(':');
    if (m < 0)
    {
      localObject1 = new Integer(paramString);
      localObject2 = (e)paramv.h.get(localObject1);
      return localObject2;
    }
    Object localObject1 = paramString.substring(0, m);
    Object localObject2 = paramString.substring(m + 1);
    Integer localInteger = new Integer((String)localObject1);
    v localv = (v)paramv.k.get(localInteger);
    if (!r.f)
    {
      if (localv == null) {
        n.a(this, 2, "Did not find parser for node " + localInteger + " in " + paramv);
      }
    }
    else {
      return null;
    }
    return a((String)localObject2, localv);
  }
  
  public Object c()
  {
    return this.i;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.e.a.w

 * JD-Core Version:    0.7.0.1

 */